package edu.zjut.hjg.saas.biz.service;

import java.util.List;

import edu.zjut.hjg.saas.biz.model.Baby;
import edu.zjut.hjg.saas.biz.support.Paginated;

public interface BabyService {
    Baby findByIdAndAppId(int id, int appId);

    void update(Baby baby, int appId, String operator);

    void deleteByIdAndAppId(int id, int appId, String operator);

    Integer create(Baby baby, String operator);

    Paginated<Baby> listByAppId(int appId, int pageSize, int page);

    List<Baby> listAllByAppId(int appId);
}
